import QtQuick
import QtQuick.Controls

Item {
    Row {
        anchors.centerIn: parent
        spacing: 10
        Button {
            text: "Host Detect"
            onClicked: {
                hostDetectClicked()
            }
        }
        Button {
            text: "Serial Port Tool"
            onClicked: {
                serialPortToolClicked()
            }
        }
        Button {
            text: "SSH Tool"
            onClicked: {
                sshToolClicked()
            }
        }
    }

    
    signal hostDetectClicked()
    signal serialPortToolClicked()
    signal sshToolClicked()

    Component.onCompleted: {
        console.log("home init done")
    }

    Component.onDestruction: {
        console.log("home des")
    }
}
